package com.developmentReformProject.dto;

import com.developmentReformProject.entity.FiveYearProject;
import com.developmentReformProject.enums.ProjectSpecificTypeEnum;
import com.developmentReformProject.enums.ProjectTypeEnum;
import com.developmentReformProject.enums.SpecificTypeEnum;

import java.io.Serializable;

public class FiveQueryDto extends FiveYearProject implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer currentPage;
    /**
     * 页面大小
     */
    private Integer pageSize;
    private String projectTypeDesc;
    private String specificTypeDesc;

    public String getProjectTypeDesc() {
        return ProjectTypeEnum.valueToDESC(this.getFiveProjectType());
    }

    public String getSpecificTypeDesc() {
        return ProjectSpecificTypeEnum.valueToDESC(this.getFiveSpecificType());
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
